<?php

namespace app\validate;

use think\Validate;

class UserEdit extends Validate
{
    protected $rule =   [
        'nickname'  => 'require',
        "avatar" => "require",
    ];

    protected $message  =   [
        'nickname.require' => '昵称必填',
        'avatar.require' => '头像必填',
    ];
}
